﻿/*using Project.DAL;
using Project.DAL.MemberDal;
using Project.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Project.BLL.MemberBll
{
    public class MemberTypebll : BaseBLL<MemberType>
    {
        public override void SetDal()
        {
            Dal = new MemberTypeDal();
        }

        public List<MemberType> GetStoresByPage(int page, int size, string name, out int count)
        {
            var list = base.Query();
            if (!string.IsNullOrEmpty(name))
            {
                list = list.Where(u => u.Mtype.Contains(name));
            }
            count = list.Count();
            var data = list.OrderBy(u => u.Mid).Skip((page - 1) * size).Take(size);
            return data.ToList();
        }


    }
}
*/